package com.huakang.utils;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huakang.entity.Operation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OperationVo extends Operation {

    private String pname;

    private String psex;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date patbir;

    private Integer phone;

    private String identify;
    /**
     * 医生编号
     */
    private Integer did;

    /**
     * 医生姓名
     */
    private String dname;

    /**
     * 性别
     */
    private String dsex;

    /**
     * 手机号码
     */
    private String docphone;

    /**
     * 部门编号
     */
    private Integer deid;

    /**
     * 身份证
     */
    private String didentify;

    /**
     * 科室id
     */
    private Integer kid;

    private  String kname;
}
